package com.agv.core.services;

import java.util.ArrayList;

import com.agv.core.exception.SecurityException;
import com.agv.core.objectDomain.MenuSelect;
import com.agv.core.objectDomain.Modulo;
import com.agv.core.objectDomain.Usuario;

/**
 * @author casa
 * 
 */
public interface ISecurityService {

	/**
	 * @param cdkey
	 * @param pwPAssword
	 * @return
	 * @throws SecurityException
	 */
	public Usuario login(String cdkey, String pwPAssword)
			throws SecurityException;

	public void validaPrimerAcceso(String cdkey, String pwPAssword,
			Integer idUsuario) throws SecurityException;

	public ArrayList<Modulo> obtenerFuncionesPorModulo()
			throws SecurityException;

	public void insertaPerfil(String nbPerfil, Integer stEstatus,
			String[] idFuncion) throws SecurityException;

	public ArrayList<MenuSelect> obtenerMenuSelect(String nbCampoLeyenda, String nbCampoId,
			String nbTabla) throws SecurityException;
}
